//
//  HMHttpTool.h
//  黑马微博-wzy
//
//  Created by Mac on 2017/2/15.
//  Copyright © 2017年 Mac. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "AFNetworking.h"
//首页参数
#import "HMHomeStatusesParam.h"

@interface HMHttpTool : NSObject

//GET 请求
+ (void)get:(NSString *)url params:(NSDictionary *)params success:(void(^)(id responseObj))success failure:(void(^)(NSError *error))failure;
//POST 请求
+ (void)post:(NSString *)url params:(NSDictionary *)params success:(void(^)(id responseObj))success failure:(void(^)(NSError *error))failure;



@end
